package com.android.antelopeapp.bean;

import com.lyhw.model.Article;

public class CNContent {
	private String _category;
	private int _likeCount;
	private String _description;
	private String _indicateImgURL;
    private Article _article;

    public CNContent(String _category, int _likeCount, String _description, String _indicateImgURL) {
        this._category = _category;
        this._likeCount = _likeCount;
        this._description = _description;
        this._indicateImgURL = _indicateImgURL;
    }

    public CNContent(String _category, int _likeCount, String _description, String _indicateImgURL, String _articleId) {
        this._category = _category;
        this._likeCount = _likeCount;
        this._description = _description;
        this._indicateImgURL = _indicateImgURL;
    }

    public CNContent(Article reArticle){
        this._category = reArticle.getTypeid();
        this._description = reArticle.getTitle();
        this._likeCount = reArticle.getAttach().getCollect();
        this._indicateImgURL = reArticle.getMainpic();
        this._article = reArticle;
    }

    public String get_category() {
        return _category;
    }

    public void set_category(String _category) {
        this._category = _category;
    }

    public int get_likeCount() {
        return _likeCount;
    }

    public void set_likeCount(int _likeCount) {
        this._likeCount = _likeCount;
    }

    public String get_description() {
        return _description;
    }

    public void set_description(String _description) {
        this._description = _description;
    }

    public String get_indicateImgURL() {
        return _indicateImgURL;
    }

    public void set_indicateImgURL(String _indicateImgURL) {
        this._indicateImgURL = _indicateImgURL;
    }

    public Article get_article() {
        return _article;
    }

    public void set_article(Article _article) {
        this._article = _article;
    }
}
